package com.zm.sb.simple;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zoum
 * @create 2019/2/21 18:29
 */

@SpringBootApplication
@RestController
public class SbApp {

    @RequestMapping("/hello")
    public String hello(){
        return "hello";
    }

    public static void main(String[] args){
        SpringApplication.run(SbApp.class, args);
    }
}
